//
//  LBDetailsTableViewCell.m
//  LvoeBeen_Imitation
//
//  Created by apple on 17/2/20.
//  Copyright © 2017年 itcast. All rights reserved.
//

#import "LBDetailsTableViewCell.h"

@interface LBDetailsTableViewCell()

@property (weak, nonatomic) IBOutlet UILabel *num;


@end

@implementation LBDetailsTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (IBAction)reduce:(id)sender {
    _count--;
    _num.text = [NSString stringWithFormat:@"%ld",_count];
    
    
}

- (IBAction)increase:(id)sender {
    _count++;
    _num.text = [NSString stringWithFormat:@"%ld",_count];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
